package com.rzn.reading.service;


import com.rzn.reading.dto.PageableRequestDTO;
import com.rzn.reading.model.dto.literature.*;

import java.util.List;

/**
 * <p>
 * 文献详细信息表 服务类
 * </p>
 *
 * @author rzn
 * @since 2022-02-12
 */
public interface LiteraturedetailService{

    Boolean addLiterature(LiteratureCreateInputDTO literatureCreateInputDTO);

    Boolean deleteLiterature(Integer userId,Integer literatureId);

    List<LiteratureItemListDTO> getLiteratureItemList(LiteratureQueryDTO literatureQueryDTO);

    List<LiteratureTypeGradeDTO> getLiteratureTypeGrade(Integer userId);

    LiteratureDetailDTO getLiteratureDetail(Integer userId,Integer literatureId);

    Integer getAllCount();

}
